﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProfileImageUp.aspx.cs"
    Inherits="SocialIn.Web.Members.ProfileImageUp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function Validation() {
            var val = document.getElementById("<%= fileup.ClientID %>").value;
            if (val.length <= 0)
                return false;

            return true;
        }

        function SaveOK(val) {
            opener.parent.document.getElementById("filename").value = val;
            opener.parent.document.getElementById("btntest01").click();
            this.window.close();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <!-- 파일업로드 부분 -->
        <div>
            <asp:FileUpload runat="server" ID="fileup" />
            <asp:Button runat="server" ID="btnOK" OnClick="btnOK_Click" Text="파일업로드" OnClientClick="return Validation();" />
        </div>
    </div>
    <asp:Literal runat="server" ID="ltrscript" />
    </form>
</body>
</html>
